<?php
/**
 * Created by PhpStorm.
 * User: zhanghua
 * Date: 18-9-24
 * Time: 下午3:06
 */

namespace app\sun\service;


use app\common\service\BaseService;

class VerifyService extends BaseService
{

    protected function check($code)
    {
        $verify = new \verify\verify();

        return $verify->check($code);

    }

    protected function entry()
    {
        $Verify = new \verify\verify();
        $Verify->codeSet = '0123456789';
        $Verify->length = 4;
        $Verify->imageH = 0;
        return $Verify->entry();
    }



}